package lab02.test16;

class Subtraction extends Arithmetic{

   @Override

  double addition1() {

               return 0;

           }



        @Override

    double multiplication1() {

               return 0;

          }



          @Override

   double division1() {

             return 0;

        }



         @Override

  double subtraction1() {

              double sum=a[0];

                for (j=1;j<=n;j++){

                       sum=sum-a[j];

                  }



                     return sum;

          }

}
